		var payment;

		$('.payWays').click(function(){
			$('#hidden_box').css('display','block');
		})

		$.ajax({
			type : 'post',
			url : '/api/v1/payment/list',
			data : {
				paramStr : "{'userName':'" + sessionStorage.userName + "','token':'" + sessionStorage.token + "','type':'" + 'online' + "'}"
			},
			dataType : 'json',
			timeout : 10000,
			success : function (data) {
				var obj = JSON.parse(data.data);
				var paymentList = obj.paymentList;

				var $ul = $('#hidden_box ul');
				for(var i = 0; i < paymentList.length; i++){
					$('<li className='+paymentList[i]["className"]+'>'+paymentList[i]["name"]+'</li>').addClass('content').appendTo($ul);
				}

				$('.content').click(function(){
					$('.payWays').attr('value',$(this).text());
					payment = $(this).attr('className');
					$('#hidden_box').css('display','none');
					if($(this).text() == '银生宝支付'){
						$('.bankCard').css('display','block');
					}else{
						$('.bankCard').css('display','none');
					}
				})
			},
			error : function (xhr,type,errorThrown) {
				alert('未知错误');
			}
		});